!function(n){
   var e = n.document,
   t=e.documentElement,
   i=720,
   d=i/16,
   o="orienttationchange" in n ? "orienttationchange":"resize",
   a = function () { 
       var n = t.clientWidth || 320; 
       n>720&&(n=720);
    //    let fontsize = n/d<=13?13:n/d;
     let fontsize = parseInt(n/d);
       t.style.fontSize = fontsize+'px'
    };
    e.addEventListener&&(n.addEventListener(o,a,0),e.addEventListener('DOMContentLoaded',a,0))
}(window)



function goNext(object,http){
   const obj = document.querySelectorAll(object);
   for (let i = 0; i < obj.length; i++) {
      obj[i].onclick = ()=>{
         window.location.href = http
      }
   }
}

function goBack(object){
   const obj = document.querySelector(object);
   obj.onclick = ()=>{
      window.history.go(-1)
   }
}